require('./connect');
var mongoose = require('mongoose');
var Schema = mongoose.Schema;
/*定义模式Student_Schema*/
var User_Schema = new Schema({
    user_name: String,
    user_password: String,
    phone: String,
    user_email: String,
    date: Date

}, {
    versionKey: false
});

/*定义模型Student，数据库存的是students*/
var User = mongoose.model("User", User_Schema);
exports.User = User;